﻿using SHZY.Common.Models;

namespace SHZY.BaseData.Entitys.Common.Dto.Material;

/// <summary>
/// 物料信息输出参数.
/// </summary>
public class ComBaseMaterialInfoOutput
{
    /// <summary>
    /// GUID.
    /// </summary>
    public string id { get; set; }

    /// <summary>
    /// 物料编码.
    /// </summary>
    public string code { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    public string name { get; set; }

    /// <summary>
    /// 计量单位.
    /// </summary>
    public string unit { get; set; }

    /// <summary>
    /// 物料规格.
    /// </summary>
    public string specification { get; set; }

    /// <summary>
    /// 物料组编号.
    /// </summary>
    public string materialGroupCode { get; set; }

    /// <summary>
    /// 物料类型.
    /// </summary>
    public string type { get; set; }

    /// <summary>
    /// 物料分类.
    /// </summary>
    public string classify { get; set; }

    /// <summary>
    /// 是否启用批次管理：Y 已启用  N未启用.
    /// </summary>
    public string isBtch { get; set; }

    /// <summary>
    /// 是否启用SN管理：Y 已启用  N未启用.
    /// </summary>
    public string isSn { get; set; }

    /// <summary>
    /// 是否辅料.
    /// </summary>
    public string auxiliaryFlag { get; set; }

    /// <summary>
    /// 是否委外.
    /// </summary>
    public string outsourcingFlag { get; set; }

    /// <summary>
    /// 最小单位.
    /// </summary>
    public string minUnit { get; set; }

    /// <summary>
    /// 重量单位.
    /// </summary>
    public string weightUnit { get; set; }

    /// <summary>
    /// 最小发货单位.
    /// </summary>
    public string deliveryUnit { get; set; }

    /// <summary>
    /// 所属地点.
    /// </summary>
    public string site { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    public string remarks { get; set; }

    /// <summary>
    /// 客户料号.
    /// </summary>
    public string customerNumber { get; set; }

    /// <summary>
    /// 附件文件路径.
    /// </summary>
    public List<FileControlsModel> fileInfo { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    public int? enabledMark { get; set; }

    /// <summary>
    /// 检验状态.
    /// </summary>
    public string isInspect { get; set; }
}